Release 10.1A: OpenEdge Development:
Progress 4GL Reference
TIME function
Returns an integer representing the time in seconds. If the TIME function has no arguments, it returns the number of seconds since midnight. Use this function together with the STRING function to produce the time in hours, minutes, and seconds.
Syntax
Examples
In
r-time.p, the timeleft variable is set to the result of the TIME function subtracted from the number of seconds in a day. The procedure translates this value into seconds, minutes, and hours.
This DISPLAY statement displays the current time.
See also
DATETIME function, DATETIME-TZ function, ETIME function, MTIME function, NOW function, TIMEZONE function
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |